You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '} LIMIT 500 offset 0' at line 1 SELECT * from bm_news where active = 1 and code = {code} LIMIT 500 offset 0
Error Text: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '} LIMIT 500 offset 0' at line 1 .... Query Text: SELECT * from bm_news where active = 1 and code = {code} LIMIT 500 offset 0